﻿<UserControl x:Class="MOJsdk.WindowControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" MinHeight="25" MinWidth="50">
    <Grid Name="_Grid">
        <Rectangle Height="20" Name="_rect_header" VerticalAlignment="Top" Fill="Black" />
        <TextBlock IsHitTestVisible="False" Height="20" Name="_txt_header" Text="TextBlock" 
                   VerticalAlignment="Top" Margin="12,0,63,0" Foreground="White"/>
        <Button Content="" Height="15" Margin="0,3,3,0" HorizontalAlignment="Right" Name="_btn_close" VerticalAlignment="Top" Width="15" />
        <Button Content="" Height="15" HorizontalAlignment="Right" Margin="0,3,20,0" Name="_btn_minimize" VerticalAlignment="Top" Width="15" />
        <Border Margin="2,20,2,0" Name="_border"/>
        <DockPanel Margin="3,21,3,1" Name="_dock" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
    </Grid>
</UserControl>
